package com.unina.is2.astafantaunina.utility;

import android.content.Context;

public class VisibilityManager {
    private static boolean mIsVisible = false;
    private static Context context;
    
    private static int doveSiamo = -1;
    //dove siamo = 0 -- LEGHEACTIVITY
    //dove siamo = 1 -- LOGGEDACTIVITY
    
    private static int toggle = -1;
    //toggle = 0 -- TOGGLE == OFF
    //toggle = 1 -- TOGGLE == ON


    public static void setIsVisible(boolean visible) { 
         mIsVisible = visible; 
    }

    public static boolean getIsVisible() {
         return mIsVisible;
    }
    
    public static void setContext(Context c){
    	context = c;
    }
    
    public static Context getContext(){
    	return context;
    }
    
    public static int getDoveSiamo(){
    	return doveSiamo;
    }
    
    public static void setDoveSiamo(int i){
    	doveSiamo = i;
    }
    
    public static int getToggle(){
    	return toggle;
    }
    
    public static void setToggle(int i){
    	toggle = i;
    }
    
}